package com.mybatis.mapper;

import com.mybatis.domain.AuthRole;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-03-24 09:29:27
 */
public interface AuthRoleMapper {

    @Select({"select * from auth_role where id = #{id}"})
    List<AuthRole> findById(@Param("id") Long id);
}
